from  machine import Pin
import time

p38= Pin(2,Pin.OUT)


while True:
    p38.value(1)
    print("GPIO 381=",p38.value())
    time.sleep(1.5)
    p38.value(0)
    print("GPIO 382=",p38.value())
    time.sleep_ms(500)